<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文豆集团-IT服务企业</title>
    <link rel="stylesheet" href="css/Common.css">
    <link rel="stylesheet" href="css/user_setting.css">
    <link rel="stylesheet" href="js/jquery-ui-1.11.4/jquery-ui.css">
</head>
<body>
<div class="container">
    <{include file="user_center_header.tpl"}>
    <div class="main">
        <img src="images/cases_banner.jpg" alt="">
        <p class="main_head_nav">
            <a href="index.php">首页</a>>
            <a href="user_center.php">用户中心</a>>账号设置
        </p>

        <div class="main_us">
            <{include file="user_center_sidebar.tpl"}>
            <div class="main_usernews">
                <p class="main_usernews_nav">
                    <a href="user_center.php">基本信息</a>
                    <a class="user_set" href="user_setting.php">账号设置</a>
                </p>

                <form action="user_setting.php" method="post" enctype="multipart/form-data">
                    <input type="hidden" name="logoname" value="<{$user.logo}>"/>
                    <ul>
                        <li>
                            <p>真实姓名：</p>
                            <input type="text" name="realname" id="realname" value="<{$user.realname}>">
                            <span id="name_report"></span>
                        </li>
                        <li>
                            <p>性别：</p>
                            <select name="sex" id="sex">
                                <option value="1" <{if $user.sex != 2}> selected='selected' <{/if}> >男</option>
                                <option value="2" <{if $user.sex==2}> selected='selected'<{/if}> >女</option>
                            </select>
                        </li>
                        <li>
                            <p>生日：</p>
                            <input class="birthday" type="text" name="birthday" value="<{$user.birthday}>" id="birthday">
                            <span id="birth_report"></span>
                        </li>
                        <li>
                            <p>手机：</p>
                            <input type="text" name="phone" id="phone" value="<{$user.mobile}>">
                            <span id="phone_report"></span>
                        </li>
                        <li>
                            <p>电子邮箱：</p>
                            <input type="text" name="mail" id="mail" value="<{$user.email}>">
                            <span id="mail_report"></span>
                        </li>
                        <li>
                            <p>QQ：</p>
                            <input type="text" name="qq" id="qq" value="<{$user.qq}>">
                            <span id="qq_report"></span>
                        </li>
                        <li>
                            <p>详细地址：</p>
                            <input type="text" name="address" id="address" value="<{$user.address}>">
                            <span id="addr_report"></span>
                        </li>
                        <li>
                            <p>头像上传：</p>
                            <input type="file" name="photo">
                            <span id="logo"></span>
                        </li>
                        <li>
                            <input class="save" type="submit" name="dosubmit" value="保存资料">
                        </li>
                    </ul>
                </form>
            </div>
        </div>
    </div>
    <{include file="footer.tpl"}>
</div>
</body>
</html>
<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/jquery-ui-1.11.4/jquery-ui.js"></script>
<script>

    $("#birthday").datepicker({
        dateFormat: "yy-mm-dd"
    });

</script>
